package com.dingup.provider.service.classInfo;

import com.dingup.api.adapter.classInfo.ClassInfoAdapter;
import com.dingup.api.bean.response.classInfo.ClassInfoResponseSelectBean;
import com.dingup.api.enums.ClassUserTypeEnum;
import com.dingup.api.model.classInfo.ClassUserInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by wancheng on 2018/8/30.
 */
public interface ClassUserInfoService {

    public void needInsert(List<ClassUserInfo> needInsert, String operaUserId, Integer classId);

    public void needDelete(List<ClassUserInfo> needDelete, String operaUserId,Integer classId);

    public void insert(ClassUserInfo needInsert, Integer classId, Integer lessonId);

    public void delete(ClassUserInfo classUserInfo, String operaUserId, Integer classId, Integer lessonId);

    public List<String> getStudentIdsByTeacherId(String teacherId, ClassUserTypeEnum teacherType);

    public List<ClassInfoResponseSelectBean> getClassInfo(Integer classId);

    public ClassInfoAdapter getClassInfoById(Integer classId) throws Exception;

    /**
     * 获取学生分组  所属班级学生  其他学生
     *
     * @param classId
     */
    Map<String, Object> getUserGroupByClassSelf(Integer classId);

    void deleteUser(String userId);
}
